<template>
  <router-view></router-view>
</template>

<script>
import IdentifierUserUrl from '../../../../../components/identifier/web/pc/IdentifierUserUrl.js'

export default {
  name: 'App',
  components: {
  },
  computed:{
  },
  created(){
    this.axios.get(IdentifierUserUrl.hasLogin).catch(error=>{
      if (error.response) {
        if (error.response.status == 401) {
          this.$router.replace('/login').catch(()=>{})
        }
      }
    })
    this.axios.get(IdentifierUserUrl.loginUserinfo).catch(error=>{
      if (error.response) {
        if (error.response.status == 401) {
          this.$router.replace('/login').catch(()=>{})
        }
      }
    })
  },
  data() {
    return {
    }
  },
  mounted(){
  },
  methods:{
  },
  watch:{

  }
}
</script>

<style>

</style>
